package com.ps.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;

import com.ps.vo.OrderReportVO;
import com.ps.vo.SalesTop10ReportVO;
import com.ps.vo.TurnoverReportVO;
import com.ps.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService  {

    TurnoverReportVO getTurnoverStatistics(LocalDate begin, LocalDate end);

    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    OrderReportVO getOrderStatistics(LocalDate begin, LocalDate end);

    SalesTop10ReportVO getSalasTop10(LocalDate begin, LocalDate end);

    void exportBusinessData(HttpServletResponse response);
}
